cmake_minimum_required (VERSION 2.8)
project (ErrnoGen)
SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O2 -fPIC -m64 -w -std=c++11")
SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -g3 -m64 -std=c++11 -fPIC -D__DEBUG")
SET(CMAKE_CXX_COMPILER "g++")
SET(CMKAE_C_COMPILER "gcc")
SET(CMAKE_BUILD_TYPE Release)

aux_source_directory(./src SRC_FILES)

add_executable(${PROJECT_NAME}  ${SRC_FILES})
set (EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

